Further scramblings of Marsaglia's xorshift generators
نویسنده
چکیده
xorshift* generators are a variant of Marsaglia’s xorshift generators that eliminate linear artifacts typical of generators based on Z/2Z-linear operations using multiplication by a suitable constant. Shortly after high-dimensional xorshift* generators were introduced, Saito and Matsumoto suggested a different way to eliminate linear artifacts based on addition in Z/232Z, leading to the XSadd generator. Starting from the observation that the lower bits of XSadd are very weak, as its reverse fails several statistical tests, we explore variants of XSadd using 64-bit operations, and describe in detail xorshift128+, an extremely fast generator that passes strong statistical tests using only three shifts, four xors and an addition.
منابع مشابه
Xorshift random number generators from primitive polynomials
A class of xorshift random number generators (RNGs) are introduced by Marsaglia. We have proposed an algorithm which constructs a full period xorshift RNG from a given primitive polynomial. It is shown there is a weakness present in those RNGs and is suggested its improvement. A separate algorithm is also proposed which returns a full period xorshift generator with desired number of xorshift op...
متن کاملNote on Marsaglia’s Xorshift Random Number Generators
Marsaglia (2003) has described a class of“xorshift”random number generators (RNGs) with periods 2 − 1 for n = 32, 64, etc. We show that the sequences generated by these RNGs are identical to the sequences generated by certain linear feedback shift register (LFSR) generators using “exclusive or” (xor) operations on n-bit words, with a recurrence defined by a primitive polynomial of degree n.
متن کاملSome long-period random number generators using shifts and xors
Marsaglia recently introduced a class of “xorshift” random number generators (RNGs) with periods 2n − 1 for n = 32, 64, etc. Here Marsaglia’s xorshift generators are generalised to obtain fast and highquality RNGs with extremely long periods. Whereas RNGs based on primitive trinomials may be unsatisfactory, because a trinomial has very small weight, these new generators can be chosen so that th...
متن کاملSuitability of chaotic iterations schemes using XORshift for security applications
The design and engineering of original cryptographic solutions is a major concern to provide secure information systems. In a previous study, we have described a generator based on chaotic iterations, which uses the well-known XORshift generator. By doing so, we have improved the statistical performances of XORshift and make it behave chaotically, as defined by Devaney. The speed and security o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Computational Applied Mathematics
دوره 315 شماره
صفحات -
تاریخ انتشار 2017